package com.jxtti.dao;

import java.util.List;
import java.util.Map;
import com.jxtti.entity.DisciplinaryReport;
/**
 * 
 * 纪检
 */
public interface DisciplinaryReportDao<T>  {
	
	
	/**
	 * 
	 * <br>
	 * <b>功能：</b>查询数据 <br>
	 */
	public List<DisciplinaryReport> queryByList(Map<String, Object> data);
	
	/**
	 * 
	 * <br>
	 * <b>功能：</b>ID查询<br>
	 */
	public DisciplinaryReport queryById(DisciplinaryReport  entity);
	
	public List<DisciplinaryReport> queryForIndex(Map<String, Object> data);
	/**
	 * 
	 * <br>
	 * <b>功能：</b>添加数据<br>
	 */
	public int add(DisciplinaryReport entity);
		
	/**
	 * 
	 * <br>
	 * <b>功能：</b>修改数据<br>
	 */
	public int update(DisciplinaryReport entity);
	
	
		/**
	 * 
	 * <br>
	 * <b>功能：</b>删除数据<br>
	 */
	public int delete(DisciplinaryReport entity);
	
	
	/**
	 * 
	 * <br>
	 * <b>功能：</b>查询总记录数<br>
	 */
	public int queryByCount(DisciplinaryReport entity);
}
